package br.com.teste.manager.historia.impl;

import br.com.teste.entity.Historia;
import br.com.teste.manager.AbstractTesteManager;
import br.com.teste.manager.historia.HistoriaManager;
import org.springframework.transaction.annotation.Transactional;

public class JpaHistoriaManagerImpl extends AbstractTesteManager implements HistoriaManager{

    @Override
    @Transactional
    public void salvar(Historia historia) {
        getEntityManager().merge(historia);
    }

}
